#ifndef _TEST_APP
#define _TEST_APP

//Headers
#include "ofMain.h"
//Header van clas "Ball"
#include "Ball.h"


class testApp : public ofBaseApp{

	public:

		void setup();
		void update();
		void draw();
        void newBook(string request);

		void keyPressed  (int key);

		void screenSaver();

        //images
		ofImage Pics[100];
		ofImage back;

		ofSoundPlayer Recognition[10];
		int ammountRecog;
		ofSoundPlayer Animation[10];
		int ammountAnim;

		ofVideoPlayer 		example;
        bool movie;

		//vector class
		Ball ball;
        vector <Ball> ballen;

        //distances to calculate
        int distX;
        int distY;
        int dist;

        //scene variables
        int startDuration;
        int mainDuration;
        int sSaverDuration;
        int sSaverHolder;
        int stage;
        int delay;
		float dv;
		int backTint;
        int timer;
        int tagTimer;
        //for testing, you can also choose not to let anything bounce
        bool bouncing;

        //book variables
        string request;
        string tagLine;

        //book strings
        vector<string> sArray;
        vector<string> pArray;
        vector<string> rArray;
        vector<string> totalArray;

        //image array
        vector<string> iArray;

        //font array
        ofTrueTypeFont	verdana[20];
};

#endif
